<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title><?php echo C('sitename');?></title>
    <meta name="description" content="<?php echo ($web['description']); ?>" />
    <meta name="keywords" content="<?php echo ($web['keywords']); ?>">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="shortcut icon" href="/lzkong/blog/Public/Home/img/favicon.jpg">
    <link rel="stylesheet" href="/lzkong/blog/Public/Common/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/lzkong/blog/Public/Common/css/font-awesome.min.css" />
    <link rel="stylesheet" href="/lzkong/blog/Public/Home/css/base.css" />
    <!--小飞机-->
    <link rel="stylesheet" href="/lzkong/blog/Public/Home/css/plane.css" />

    <script src="/lzkong/blog/Public/Home/js/jquery.js"></script>
    
    
    <script>window.onload=function(){window.loaded=!0};</script>
</head>
<body>
    <header class="main-header" style="background-image: url(/lzkong/blog/Uploads/banner1.jpg)">
        <!--小飞机-->
        <div class="plane">
            <div class="wings">
                <div class="fan">
                    <div class="fan-wings">
                        <div class="fan-a"></div>
                        <div class="fan-b"></div>
                        <div class="fan-c"></div>
                        <div class="fan-d"></div>
                    </div>
                </div>
                <div class="cat">
                    <div class="legs"></div>
                </div>
            </div>
            <div class="wheel">
                <div class="left"></div>
                <div class="right"></div>
            </div>
        </div>

    </header>

    <nav class="main-navigation">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <div class="navbar-header">
                        <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#main-menu">
                            <span class="sr-only">Toggle navigation</span>
                            <i class="fa fa-bars"></i>
                        </span>
                    </div>
                    <div class="collapse navbar-collapse" id="main-menu">
                        <ul class="menu">
                            <?php if(is_array($nav_list)): $i = 0; $__LIST__ = $nav_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?><li <?php if($active == $row['active']): ?>class="nav-current"<?php endif; ?> role="presentation">
                                    <a href="<?php echo U($row['url']);?>"><?php echo ($row['name']); ?></a>
                                </li><?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>
    
    <section class="content-wrap">
        <div class="container">
            <div class="row top-tags">
                <div class="top-article-tag">
                    <a href="<?php echo U('Index/index');?>">
                        <div <?php if($_GET['category'] != 0): ?>class="tag-element"<?php else: ?>class="tag-element tag-current"<?php endif; ?> >全部</div>
                    </a>
                </div>
                <?php if(is_array($cate_list)): $i = 0; $__LIST__ = $cate_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cate): $mod = ($i % 2 );++$i;?><div class="top-article-tag">
                        <a href="<?php echo U('Index/index',array('cate'=>$cate['cate_id']));?>">
                            <div <?php if($_GET['cate'] == $cate['id']): ?>class="tag-element tag-current" <?php else: ?>class="tag-element"<?php endif; ?> ><?php echo ($cate['cate_name']); ?></div>
                        </a>
                    </div><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="row">
            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><article class="col-xs-12 col-sm-4 col-md-4 col-lg-4 article-item fadeInLeft delay0d3s">
                    <div class="article-panel">
                        <a href="<?php echo U('Article/index',array('a_id'=>$vo['a_id']));?>">
                            <div class="article-cover" style="background-image: url(/lzkong/blog/Uploads<?php echo ($vo["photo"]); ?>)">
                                <?php if(!empty($vo['a_red'])): ?><div class="featured" title="推荐文章">
                                        <i class="fa fa-star"></i>
                                    </div><?php endif; ?>
                            </div>
                        </a>
                        <div class="article-title">
                            <a href="<?php echo U('Article/index',array('a_id'=>$vo['a_id']));?>"><?php echo ($vo['a_title']); ?></a>
                        </div>
                        <div class="article-brief">
                            <?php echo ($vo["a_remark"]); ?>
                        </div>
                        <div class="article-info">
                            <span class="tags">
                                <i class="fa fa-tags"></i>
                                    <a href="<?php echo U('Index/index',array('tag'=>$tag));?>"><?php echo ($vo["cate_name"]); ?></a>&nbsp;
                            </span>
                            <span class="create-time">
                                <i class="fa fa-clock-o"></i>
                                <?php echo (date("Y-m-d H:i",$vo["create_time"])); ?>
                            </span>
                        </div>
                    </div>
                </article><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <nav class="pagination" role="navigation">
                <?php echo ($page); ?>
            </nav>
        </div>
    </section>

    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">最新文章</h4>
                        <div class="content recent-post">
                        <?php if(is_array($s_article)): $i = 0; $__LIST__ = $s_article;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="recent-single-post">
                                <a href="<?php echo U('Article/index',array('a_id'=>$vo['a_id']));?>" class="post-title"><?php echo ($vo['a_title']); ?></a>
                                <div class="date">发布时间：<?php echo (date("Y-m-d H:i",$vo["create_time"])); ?></div>
                            </div><?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                        <?php if(is_array($tag)): $i = 0; $__LIST__ = $tag;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$tag): $mod = ($i % 2 );++$i;?><a href="<?php echo U('Article/index',array('a_id'=>$tag['a_id']));?>"><?php echo ($tag['a_keyword']); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">友情链接</h4>
                        <div class="content tag-cloud friend-links">
                            <?php if(is_array($link)): $i = 0; $__LIST__ = $link;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fl): $mod = ($i % 2 );++$i;?><a href="<?php echo ($fl['url']); ?>" title="<?php echo ($fl['name']); ?>" target="_blank"><?php echo ($fl['name']); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <span>Copyright &copy; <a href="http://www.findz.cn/">findz.cn</a></span> |
                    <span><a href="http://www.miibeian.gov.cn/" target="_blank"><?php echo ($web['icp']); ?></a></span>
                </div>
            </div>
        </div>
    </div>
    <div id="loadProgress" class="progress progress-top"></div>
    <div class="rotate" id="rotate">
        <div class="rotate-icon"></div>
    </div>
    <a href="#" id="back_to_top"><i class="fa fa-angle-up"></i></a>
    <div class="hidden"><?php echo ($web['tj']); ?></div>
    <script src="/lzkong/blog/Public/Common/js/jquery.min.js"></script>
    <script src="/lzkong/blog/Public/Common/js/bootstrap.min.js"></script>
    <script src="/lzkong/blog/Public/Home/js/base.js"></script>
    
    <script type='text/javascript'>
        $({property: 0}).animate({property: 100}, {
            duration: 3000,
            step: function() {
                var percentage = Math.round(this.property);

                $('#loadProgress').css('width',  percentage+"%");

                if(percentage == 100) {
                    $("#loadProgress").addClass("done");//完成，隐藏进度条
                    $("#rotate").addClass("done");//完成，隐藏进度条
                }
            }
        });
    </script>
</body>
</html>